﻿using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp6
{
    class Book
    {
        public long Id { get; set; }
        public string  Name { get; set; }
        public double  Price { get; set; }

        public void SetBool(long  id ,string name,double price)
        {
            Id = id;
            Name = name;
            Price = price;
        }

        public void PrintMsg()
        {
            Console.WriteLine("口罩编号：" + Id);
            Console.WriteLine("口罩名称：" + Name );
            Console.WriteLine("口罩价格：" + Price );
        }
    }
}
